﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jzy.Workflow.Snap
{
    public partial class FlowSnapInfo
    {
        public const string TABLE_NAME = "FlowSnap";
        public const string INSERT_SQL = "insert into FlowSnap ( [ID], [FormTemplate], [Nodes], [Lines], [NodeUsers], [NodeRoles]) values ( @ID, @FormTemplate, @Nodes, @Lines, @NodeUsers, @NodeRoles)";
        public const string UPDATE_SQL = "update FlowSnap set  [ID] = @ID, [FormTemplate] = @FormTemplate, [Nodes] = @Nodes, [Lines] = @Lines, [NodeUsers] = @NodeUsers, [NodeRoles] = @NodeRoles where ID = @ID";
        /// <summary>
        /// PK
        /// </summary>
        public Int32 ID
        {
            get;
            set;
        }
        /// <summary>
        /// 表单模板
        /// </summary>
        public String FormTemplate
        {
            get;
            set;
        }
        /// <summary>
        /// 所有节点
        /// </summary>
        public String Nodes
        {
            get;
            set;
        }
        /// <summary>
        /// 所有路由
        /// </summary>
        public String Lines
        {
            get;
            set;
        }
        /// <summary>
        /// 节点的用户
        /// </summary>
        public String NodeUsers
        {
            get;
            set;
        }
        /// <summary>
        /// 节点的角色
        /// </summary>
        public String NodeRoles
        {
            get;
            set;
        }
    }

}
